AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include('shared.lua')

function ENT:Use(activator, caller)
	if !caller:GetNWBool("Scannerd") then
		self.BaseClass.Use(self, activator, caller)
	end
end

function ENT:GiveItemEffects(ply)
	ply:SetNWBool("Scannerd", true)
end

local function UnScanner(ply)
	ply:SetNWBool("Scannerd", false)
end
hook.Add("PlayerDeath", "Scannerd", UnScanner)